package com.etc.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;


@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Userinfo {
    private Integer user_no;

    private String user_acount;

    private String user_tel;

    private String user_password;

    private String user_img;

    public Userinfo(String user_acount, String user_tel, String user_password, String user_img) {
        this.user_acount = user_acount;
        this.user_tel = user_tel;
        this.user_password = user_password;
        this.user_img = user_img;
    }

    public Userinfo(Integer user_no, String user_acount, String user_tel, String user_password) {
        this.user_no = user_no;
        this.user_acount = user_acount;
        this.user_tel = user_tel;
        this.user_password = user_password;
    }
}